package com.test37_反射应用.util.bean;

public interface IFieldContentSplit {
    // 拆分字符串
    public static final String SPLIT_VALUE = "\\|";
    public static final String FIELD_SPLIT_VALUE = ":";

    public static String[] splitAll(String value) {
        return value.split(SPLIT_VALUE);
    }

    public static String[] splitField(String value) {
        return value.split(FIELD_SPLIT_VALUE, 2);
    }
}
